package app.dev.ems.data.model.impl;

import java.io.Serializable;

import app.dev.ems.data.element.FieldType;

public class Field implements Serializable {

	private static final long serialVersionUID = -8829929786242318774L;
	
	private FieldType fieldType;
	private String name;
	private String displayName;
	private boolean inUse;
	
	public Field() {
		
	}
	
	public Field(FieldType fieldType, String name, String displayName, boolean inUse) {
		this.fieldType = fieldType;
		this.name = name;
		this.displayName = displayName;
		this.inUse = inUse;
	}

	public FieldType getFieldType() {
		return fieldType;
	}

	public void setFieldType(FieldType fieldType) {
		this.fieldType = fieldType;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}	

	public String getDisplayName() {
		return displayName;
	}

	public void setDisplayName(String displayName) {
		this.displayName = displayName;
	}

	public boolean isInUse() {
		return inUse;
	}

	public void setInUse(boolean inUse) {
		this.inUse = inUse;
	}	
}
